import { request } from "@/common/request";
// 留言板 / 留言反馈

// 添加留言
export function saveLeaveMsg(data) {
  return request({
    url: `/kingon-mechanism/kingon-ms/leaveMsg/save`,
    method: "post",
    data,
  });
}

// 留言分页查询
export function leaveMsgList(data) {
  return request({
    url: `/kingon-mechanism/kingon-ms/leaveMsg/list`,
    method: "get",
    data,
  });
}

// 留言删除
export function removeLeaveMsg(data) {
  return request({
    url: `/kingon-mechanism/kingon-ms/leaveMsg/remove`,
    method: "post",
    data,
  });
}

// 留言详情
export function leaveMsgDetail(data) {
  return request({
    url: `/kingon-mechanism/kingon-ms/leaveMsg/detail`,
    method: "get",
    data,
  });
}

// 留言修改
export function leaveMsgUpdate(data) {
  return request({
    url: `/kingon-mechanism/kingon-ms/leaveMsg/update`,
    method: "post",
    data,
  });
}




